package com.triones.api.controller.api;

import cn.dev33.satoken.annotation.SaIgnore;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.R;
import com.triones.api.entity.vo.CustomWordOrderVO;
import com.triones.api.entity.vo.GuideVO;
import com.triones.api.service.AppManageService;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * api - app管理
 *
 * @Author: triones
 */
@Validated
@RequiredArgsConstructor
@RestController
@RequestMapping("/api/appMgt")
public class ApiAppManageController extends BaseController {

    private final AppManageService appManageService;

    /**
     * 获取引导页
     */
    @SaIgnore
    @GetMapping(value = "/guide")
    public R<GuideVO> getInfoById() {
        return R.ok(appManageService.getGuideInfo());
    }

}
